package com.xinshujia.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * *************************************
 * *   @author: 野狼上校               **
 * *   @since: 2024-07-23 13:18       **
 * *   @version: 1.0                  **
 * *************************************
 * <p>
 */
public class SampleJob implements Job {
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        // 执行任务的逻辑
        System.out.println("Sample Job executed at " + new Date());
    }
}
